package cn.tedu.spring.life;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TextLife {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext
                ("cn.tedu.spring.life");
        Life life = ctx.getBean(Life.class);
        System.out.println("开发者使用阶段 ");
        ctx.close();
    }
}
